package 接口02;

public class InterfaceDemo{
    public static void main(String[] args) {
        Inter i =new Interimpl();
        //接口中没有成员变量，默认被final修饰
        //        i.num=20;

        System.out.println(i.num);
        System.out.println(i.num2);
        System.out.println(i.num3);

        //可直接访问接口Inter值
        System.out.println(Inter.num);
    }


    }

